﻿<Window x:Class="Wpf3dCollaborative.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:Wpf3dCollaborative"

      xmlns:p="http://www.codeplex.com/perspective" 
        
        WindowStartupLocation="CenterScreen" 
    Title="WPF 3D" Height="700" Width="1200" MinWidth="550" MinHeight="400" BorderThickness="3" Background="Black" WindowStyle="None" ResizeMode="CanResizeWithGrip" Grid.IsSharedSizeScope="False"  AllowsTransparency="True" BorderBrush="#FF555050">

    <Grid>

        <p:Workshop3D x:Name="mainViewport"   >
          <p:XyzAxis3D Length="100"></p:XyzAxis3D>
        </p:Workshop3D >

        <StackPanel HorizontalAlignment="Right" VerticalAlignment="Top" Orientation="Horizontal" Name="stackFPS" Visibility="Hidden" Margin="0,25,0,0">
            <TextBlock  Text="123" Foreground="White" FontSize="24" Height="30" Padding="0,0,5,0" Name="myFrameRateLabel" />
            <TextBlock  Text="Fps " Foreground="White" Height="30" FontSize="20" />
        </StackPanel>

        <Canvas HorizontalAlignment="Right" Width="92" Height="20" VerticalAlignment="Top" Margin="3">
            <Button Width="30" Name="Reduire" Click="Reduire_MouseUp" Template="{StaticResource BoutonRond}" Canvas.Left="0" Canvas.Top="0" Height="20">_</Button>
            <Button Width="30"  Name="Agrandir" Click="Agrandir_MouseUp" Template="{StaticResource BoutonRond}" Canvas.Left="31" Canvas.Top="0" Height="20">O</Button>
            <Button  Width="30"  Name="Fermer" Click="Fermer_MouseUp" Template="{StaticResource BoutonRond}"  Canvas.Left="62" Canvas.Top="0" Height="20">X</Button>
        </Canvas>
        <local:Menu3D x:Name="menu3d"></local:Menu3D>
        <local:MenuKinect x:Name="menukinect"></local:MenuKinect>

        <local:MenuCam   x:Name="Menu"></local:MenuCam>

    </Grid>
</Window>
